[INFO] cloning repository https://github.com/orin220444/linkfinder_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/orin220444/linkfinder_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forin220444%2Flinkfinder_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forin220444%2Flinkfinder_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2bef838c5c1da85616adbfc58fbdb2b680a2c85b
[INFO] building orin220444/linkfinder_rust against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forin220444%2Flinkfinder_rust" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/orin220444/linkfinder_rust on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/orin220444/linkfinder_rust
[INFO] finished tweaking git repo https://github.com/orin220444/linkfinder_rust
[INFO] tweaked toml for git repo https://github.com/orin220444/linkfinder_rust written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/orin220444/linkfinder_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fcf60e4016e7d34e33e25805c3967ebb3c520980bf97a902d607873f19feae1b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fcf60e4016e7d34e33e25805c3967ebb3c520980bf97a902d607873f19feae1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fcf60e4016e7d34e33e25805c3967ebb3c520980bf97a902d607873f19feae1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcf60e4016e7d34e33e25805c3967ebb3c520980bf97a902d607873f19feae1b", kill_on_drop: false }`
[INFO] [stdout] fcf60e4016e7d34e33e25805c3967ebb3c520980bf97a902d607873f19feae1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e01e359a7f0dc20bd35c8275d544a3a0599db28c9c1ac2884dba7cb85b3c6d7a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e01e359a7f0dc20bd35c8275d544a3a0599db28c9c1ac2884dba7cb85b3c6d7a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling syn v1.0.18
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.2
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling structopt-derive v0.4.7
[INFO] [stderr]    Compiling structopt v0.3.14
[INFO] [stderr]    Compiling serde_json v1.0.51
[INFO] [stderr]    Compiling linkfinder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0774]: `derive` may only be applied to structs, enums and unions
[INFO] [stdout]   --> src/main.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Debug)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 |   ///get all the data from the file to a variable
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 | / let content = std::fs::read_to_string(&args.path)
[INFO] [stdout] 16 | | .expect("could not read file");
[INFO] [stdout]    | |_______________________________- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::fmt::Debug;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`)
[INFO] [stdout]   --> src/main.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / fn main() {
[INFO] [stdout] 13 | | let args = Cli::from_args();
[INFO] [stdout] 14 | | ///get all the data from the file to a variable
[INFO] [stdout] 15 | | let content = std::fs::read_to_string(&args.path)
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | | serde_json::from_str(&content)?;//.expect("JSON not well-formatted");
[INFO] [stdout]    | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |
[INFO] [stdout] 36 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `from_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Entity: Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/main.rs:30:1
[INFO] [stdout]      |
[INFO] [stdout] 30   | serde_json::from_str(&content)?;//.expect("JSON not well-formatted");
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Entity`
[INFO] [stdout]      | 
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.51/src/de.rs:2397:8
[INFO] [stdout]      |
[INFO] [stdout] 2397 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ------------------- required by this bound in `serde_json::from_str`
[INFO] [stdout]      |
[INFO] [stdout]      = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec<Entity>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Entity` doesn't implement `Debug`
[INFO] [stdout]   --> src/main.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 | println!("entities: {:#?}",entities);
[INFO] [stdout]    |                            ^^^^^^^^ `Entity` cannot be formatted using `{:?}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `Entity`
[INFO] [stdout]    = note: add `#[derive(Debug)]` or manually implement `Debug`
[INFO] [stdout]    = note: required because of the requirements on the impl of `Debug` for `Vec<Entity>`
[INFO] [stdout]    = note: required by `std::fmt::Debug::fmt`
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Entity` doesn't implement `Debug`
[INFO] [stdout]   --> src/main.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 | println!("{:#?}", [i]);
[INFO] [stdout]    |                   ^^^ `Entity` cannot be formatted using `{:?}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `Entity`
[INFO] [stdout]    = note: add `#[derive(Debug)]` or manually implement `Debug`
[INFO] [stdout]    = note: required because of the requirements on the impl of `Debug` for `[Entity; 1]`
[INFO] [stdout]    = note: required by `std::fmt::Debug::fmt`
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0774.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linkfinder`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "e01e359a7f0dc20bd35c8275d544a3a0599db28c9c1ac2884dba7cb85b3c6d7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e01e359a7f0dc20bd35c8275d544a3a0599db28c9c1ac2884dba7cb85b3c6d7a", kill_on_drop: false }`
[INFO] [stdout] e01e359a7f0dc20bd35c8275d544a3a0599db28c9c1ac2884dba7cb85b3c6d7a
